//
//  FmdbCell.h
//  OCDemo
//
//  Created by BH on 15/11/5.
//  Copyright © 2015年 baohan. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol FmdbCellDelegate <NSObject>

-(void)clickEditButtonWithItemText:(NSString *)text;
-(void)clickDeleteButtonWithItemText:(NSString *)text;
-(void)cellDidOpen:(UITableViewCell *)cell;
-(void)cellDidClose:(UITableViewCell *)cell;

@end

@interface FmdbCell : UITableViewCell

@property(nonatomic,copy)NSString *itemText;
@property(nonatomic,strong)id<FmdbCellDelegate>delegate;

-(void)openCell;

@end
